package com.sunwayworld.basemodule.business.pjtask.service;

import com.alibaba.fastjson.JSONObject;
import com.sunwayworld.basemodule.business.pjtask.bean.LimsPjFolderBean;
import com.sunwayworld.basemodule.samplemanage.sample.bean.LimsSampleBean;
import com.sunwayworld.framework.database.sql.Order;
import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import com.sunwayworld.framework.mybatis.mapper.SearchFilter;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.base.service.GenericService;

import java.util.List;

public interface LimsPjFolderService extends GenericService<LimsPjFolderBean, Long> {

    void insertPjFolders(List<LimsSampleBean> sampleBeans);

    JSONObject folderSubmit(RestJsonWrapperBean wrapperBean);

    JSONObject folderStop(RestJsonWrapperBean wrapperBean);

    List<LimsPjFolderBean> selectListByParam(MapperParameter parameter);

    List<LimsPjFolderBean> selectListByParam(SearchFilter filter);

    List<LimsPjFolderBean> selectListByParam(SearchFilter filter, Order... orders);
}
